All Questions
Tagged with javascriptthemes
59 questions
0votes
0answers
58views
How to replace Avatar link in profile page with upload profile pic. button using media library and display it in profile page and all wordpress site
I am developing a WordPress theme and using the following php code and JavaScript code, I replaced the Gravatar link with a button to upload profile image using Wordpress media library, the media ...
1vote
1answer
315views
How to use webpack in WordPress theme? I want some scripts to load in the footer, some in the header and some with script parameters
I wonder how to use webpack while bulding theme for WordPress the correct way. Everything is pretty easy until I have to make some unusual things. So in the most simple scenario I just have some JS ...
0votes
1answer
562views
How to remove pop up on website (css changes not visible)?
I'm working on this site and was asked to remove the pop up. I've tried entering classes like: .popup, .popup .popup-bg { display: none !important; } .popup { display: none !important; } The ...
0votes
0answers
18views
Help!!! Old theme doesn't load scripts and conflitcs with plugins
I need you help. I am using an old theme for some time. Now I installed two plugins WP Job Manager and AD Inserter but they are not working properly. Can someone give me a clue of what I can do to ...
0votes
0answers
946views
uncaught TypeError: Cannot read properties of null (reading 'classList') custom plugin
I am developing a custom plugin and I have a big problem that I can't fix. I need to create a couple of checkboxes in the admin panel of the plugin that would change the styles of an element in the ...
0votes
1answer
41views
How can I wrap all blog posts image with <picture class="c-picture">
Excellent WordPress programmers, I'd like to resolve an image issue with my WordPress theme. I tried everything I could, but I couldn't find a solution. The issue is that my added blog posts images ...
3votes
2answers
108views
Can I share predefined fonts from theme_support with a gutenberg component?
I have a few fonts defined in my functions.php: add_theme_support('editor-font-sizes', array( array( 'name' => esc_attr__('Small', 'moderna'), '...
0votes
0answers
14views
WP - Best way to store theme colors to use in SASS/SCSS, JSX (blocks) and PHP [duplicate]
I want to have a way to change theme colors once and use them in SCSS, JSX and PHP. Right now I have the theme colors in my variables.scss like: $theme-colors: ( base: #fff, primary: #5bb57a, ...
0votes
2answers
180views
Ajax Call not Working in Plugin
I've been developing a website using WP and to display some database information in the front-end of the site i've created a plugin. Right now i want to include a filtering function for that same ...
-1votes
1answer
2kviews
JQuery Error in theme for .live is not a function [closed]
I am trying to figure out how to fix an error the Chrome console revealed for the theme I use that has been there for quite some time. I don't know javascript so not sure how to fix it, after some ...
-1votes
1answer
1kviews
Wordpress site hamburger menu toggle not working
When I shrink down the browser to test for mobile responsiveness, the hamburger menu does not open, even after I clicked on it. I have tried everything from troubleshooting my plugins to searching all ...
0votes
1answer
188views
Webflow Interactions on Wordpress site?
I have a problem, where I can't seem to get Webflow interactions to work on my Wordpress site. I have read every post about this problem on this forum and elsewhere. I am not sure the connection ...
0votes
1answer
29views
share wrordpress data between two shared hosts using REST API
I have two shared hosting plans on two different providers. on one I run a wordpress instance and I wanna use vue to get the data from the API to display them on the secon domain on a single page app ...
0votes
0answers
93views
Conditional Banners
I'm using banners/ads that are successfully displayed in every entry/post I created in my website. ¿Is there a way that banners can change to another banner according to some field in the ...
1vote
0answers
119views
Angular integration with homepage
I have a requirement from client that they want to serve wordpress' front page as home page to angular project. It means if user clicks any link on WP's home page, then it will redirect to angular ...